#ifndef SRCHPASSWORD_H
#define SRCHPASSWORD_H

#include <QWidget>
#include"spasswordnest1.h"
#include<QTimerEvent>
#include "spasswordnext2.h"
#include<QTimer>

namespace Ui {
class srchpassword;
}

class srchpassword : public QWidget
{
    Q_OBJECT
signals:
    void cancle();
public:
    explicit srchpassword(QWidget *parent = nullptr);
    ~srchpassword();
    spasswordnest1 p1;
    spasswordnext2 p2;

private:
    Ui::srchpassword *ui;

    int timerid;
protected:
        void closeEvent(QCloseEvent *event) ;
        void timerEvent(QTimerEvent *);
private slots:
        void on_pushButton_clicked();
};

#endif // SRCHPASSWORD_H
